<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Mapache: Referencia de la Clase Base64EncoderDecoder</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../Mapache.png"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mapache&#160;<span id="projectnumber">v1.0.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Clases</span></a></li>
      <li><a href="../../files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
      <li><a href="../../classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
      <li><a href="../../inherits.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
      <li><a href="../../functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('d8/d30/classBase64EncoderDecoder.html','../../');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos públicos</a> &#124;
<a href="#pub-attribs">Atributos públicos</a>  </div>
  <div class="headertitle">
<h1>Referencia de la Clase Base64EncoderDecoder</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Base64EncoderDecoder" -->
<p><code>#include &lt;Base64EncoderDecoder.h&gt;</code></p>
<div class="dynheader">
Diagrama de colaboración para Base64EncoderDecoder:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/de3/classBase64EncoderDecoder__coll__graph.png" border="0" usemap="#Base64EncoderDecoder_coll__map" alt="Collaboration graph"/></div>
<map name="Base64EncoderDecoder_coll__map" id="Base64EncoderDecoder_coll__map">
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">significado de colores y flechas</a>]</span></center></div>

<p><a href="../../d9/ddb/classBase64EncoderDecoder-members.html">Lista de todos los miembros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#ad2d6b507363ac1c0eb84ca0b6c2d1287">is_base64</a> (unsigned char c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#af8cdc49e0ac077a9d736e69b9c406ae2">Base64EncoderDecoder</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#a562d03ee09be30077c8bb6c9ba97a279">~Base64EncoderDecoder</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#af4f0a42ad683615dda71c478dfff80f7">codificar</a> (const std::string &amp;cadena)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#a7e09e76e0095a28572eb82e7814daaf7">decodificar</a> (const std::string &amp;cadena)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Atributos públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#a686db804fb8a4d10c5b5736231e6b408">base64_chars</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descripción detallada</h2>
<div class="textblock"><p>Clase encargada de codificar y decodificar una cadena con Base64 Esta codificacion es la utilizada por las autentificacion del http </p>
</div><hr/><h2>Documentación del constructor y destructor</h2>
<a class="anchor" id="af8cdc49e0ac077a9d736e69b9c406ae2"></a><!-- doxytag: member="Base64EncoderDecoder::Base64EncoderDecoder" ref="af8cdc49e0ac077a9d736e69b9c406ae2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Base64EncoderDecoder::Base64EncoderDecoder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor </p>

</div>
</div>
<a class="anchor" id="a562d03ee09be30077c8bb6c9ba97a279"></a><!-- doxytag: member="Base64EncoderDecoder::~Base64EncoderDecoder" ref="a562d03ee09be30077c8bb6c9ba97a279" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Base64EncoderDecoder::~Base64EncoderDecoder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor </p>

</div>
</div>
<hr/><h2>Documentación de las funciones miembro</h2>
<a class="anchor" id="af4f0a42ad683615dda71c478dfff80f7"></a><!-- doxytag: member="Base64EncoderDecoder::codificar" ref="af4f0a42ad683615dda71c478dfff80f7" args="(const std::string &amp;cadena)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Base64EncoderDecoder::codificar </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cadena</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Codifica una cadena en base64 </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">cadena</td><td>a codificar </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>cadena codificada </dd></dl>

</div>
</div>
<a class="anchor" id="a7e09e76e0095a28572eb82e7814daaf7"></a><!-- doxytag: member="Base64EncoderDecoder::decodificar" ref="a7e09e76e0095a28572eb82e7814daaf7" args="(const std::string &amp;cadena)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Base64EncoderDecoder::decodificar </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cadena</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Decodifica una cadena en base64 </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">cadena</td><td>a decodificar </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>cadena decodificada </dd></dl>

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d30/classBase64EncoderDecoder_a7e09e76e0095a28572eb82e7814daaf7_cgraph.png" border="0" usemap="#d8/d30/classBase64EncoderDecoder_a7e09e76e0095a28572eb82e7814daaf7_cgraph" alt=""/></div>
<map name="d8/d30/classBase64EncoderDecoder_a7e09e76e0095a28572eb82e7814daaf7_cgraph" id="d8/d30/classBase64EncoderDecoder_a7e09e76e0095a28572eb82e7814daaf7_cgraph">
<area shape="rect" id="node3" href="../../d8/d30/classBase64EncoderDecoder.html#ad2d6b507363ac1c0eb84ca0b6c2d1287" title="Base64EncoderDecoder::is_base64" alt="" coords="289,5,519,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad2d6b507363ac1c0eb84ca0b6c2d1287"></a><!-- doxytag: member="Base64EncoderDecoder::is_base64" ref="ad2d6b507363ac1c0eb84ca0b6c2d1287" args="(unsigned char c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Base64EncoderDecoder::is_base64 </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentación de los datos miembro</h2>
<a class="anchor" id="a686db804fb8a4d10c5b5736231e6b408"></a><!-- doxytag: member="Base64EncoderDecoder::base64_chars" ref="a686db804fb8a4d10c5b5736231e6b408" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="../../d8/d30/classBase64EncoderDecoder.html#a686db804fb8a4d10c5b5736231e6b408">Base64EncoderDecoder::base64_chars</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentación para esta clase fue generada a partir del siguiente fichero:<ul>
<li>Mapache/src/servidor/utils/<a class="el" href="../../d0/ddd/Base64EncoderDecoder_8h.html">Base64EncoderDecoder.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="../../d8/d30/classBase64EncoderDecoder.html">Base64EncoderDecoder</a>      </li>
      <li class="footer">Generado el Domingo, 20 de Noviembre de 2011 00:38:05 para Mapache por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
